<template>
  <div class="bigdata-card-container" :style="{width: width, height: height}">
    <img class="top-left" src="../../../assets/images/bigData01/top-left.png">
    <img class="top-right" src="../../../assets/images/bigData01/top-right.png">
    <img class="bottom-left" src="../../../assets/images/bigData01/bottom-left.png">
    <img class="bottom-right" src="../../../assets/images/bigData01/bottom-right.png">
    <!-- 标题 -->
    <el-row class="header-container">
      <div class="main-title">
        {{mainTitle}}
        <img src="../../../assets/images/bigData01/title_img.png" style="margin-left: 5px;">
      </div>
    </el-row>
    <!-- 主内容 -->
    <el-row class="content-container">
      <slot name="Content"></slot>
    </el-row>
  </div>
</template>

<script>
  export default {
    name: "BigDataCard1",
    data() {
      return {};
    },
    props: {
      width: {
        type: String,
        default: '550px'
      },
      height: {
        type: String,
        default: '550px'
      },
      mainTitle: {
        type: String,
        default: '请设置主题',
      },
    },
    created() {

    },
    methods: {

    },
  };
</script>
<style scoped lang="scss">
  .bigdata-card-container {
    width: 100%;
    height: 100%;
    border: 1px #00beff solid;
    position: relative;
    overflow: hidden;
  
  }

  .header-container {
    height: 42px;
    padding: 2px 30px;
    overflow: hidden;
  }

  .main-title {
    color: rgba(255, 255, 255, .9);

    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
  }

  .top_left {
    left: 0;
    position: absolute;
  }
  .top_right {
    // transform:rotate(90deg);
    right: 0;
    position: absolute;
  }

  .bottom-left {
    bottom: 0px;
    left: 0;
    position: absolute;
  }

  .bottom-right {
    bottom: 0px;
    right: 0px;
    position: absolute;
  }
</style>
